angular.module('starter.home.controllers', [])

.controller('starterCtl', ['$scope', '$state', function($scope, $state){
	$scope.title = "starter";
	$scope.state_go = function(name){
		$state.go(name);
	};
}])

.controller('HomeController',['$scope', '$state', 'ProductServices', function($scope, $state, $ProductServices) {
	$scope.title = 'Home';
	$scope.productsDataSource = $ProductServices.all();

	$scope.listViewTemplate = '<p>#: ShipCity #</p>';
  
}]);